//商店分享设置
import React from "react";
import "./css/store-share-set.css";
import "./css/storeBasicSet.css";
import "./css/StoreInfo.css";
import { Form, Input, Button } from "antd";
import HOCStoreShareSet from '../../component/set/HOC/HOCStoreShareSet'

const layout = {
  labelCol: { span: 6 },
  wrapperCol: { span: 12 },
};

@HOCStoreShareSet
class StoreShareSet extends React.Component {
  render() {
      let {submit} = this.props
    return (
      <div className="store_share_set store-basic-set storeInfo">
        <div className="set-item">
          <Form {...layout} name="formOne" ref='formOne'>
            <Form.Item
              label="首页标题"
              name="sssFpt"
              rules={[{ required: true, message: "请填写首页标题" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="首页简介"
              name="sssItthp"
              rules={[{ required: true, message: "请填写首页简介" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="秒杀简介"
              name="sssIts"
              rules={[{ required: true, message: "请填写秒杀简介" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="抽奖标题"
              name="sssLt"
              rules={[{ required: true, message: "请填写抽奖标题" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="抽奖简介"
              name="sssItld"
              rules={[{ required: true, message: "请填写抽奖简介" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="阶梯团标题"
              name="sssLgt"
              rules={[{ required: true, message: "请填写阶梯团标题" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="阶梯团简介"
              name="sssAbittlr"
              rules={[{ required: true, message: "请填写阶梯团简介" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="特卖标题"
              name="sssSst"
              rules={[{ required: true, message: "请填写特卖标题" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="特卖简介"
              name="sssItss"
              rules={[{ required: true, message: "请填写特卖简介" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="签到标题"
              name="sssSit"
              rules={[{ required: true, message: "请填写签到标题" }]}
                >
              <Input />
            </Form.Item>
           
          </Form>
        </div>
        <div className="set-item">
          <Form {...layout} name="formTwo" ref='formTwo'>
          <Form.Item
              label="签到简介"
              name="sssSip"
              rules={[{ required: true, message: "请填写签到简介" }]}
                >
              <Input />
            </Form.Item>
            <Form.Item
              label="助力免单标题"
              name="sssHft"
              rules={[{ required: true, message: "请填写助力免单标题" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            <Form.Item
              label="助力免单简介"
              name="sssIthfb"
              rules={[{ required: true, message: "请填写助力免单简介" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            <Form.Item
              label="热榜标题"
              name="sssHlt"
              rules={[{ required: true, message: "请填写热榜标题" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            <Form.Item
              label="热榜简介"
              name="sssHl"
              rules={[{ required: true, message: "请填写热榜简介" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            <Form.Item
              label="积分商城标题"
              name="sssTopm"
              rules={[{ required: true, message: "请填写积分商城标题" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            <Form.Item
              label="积分商城简介"
              name="sssItim"
              rules={[{ required: true, message: "请填写积分商城简介" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            <Form.Item
              label="领取优惠券标题"
              name="sssCct"
              rules={[{ required: true, message: "请填写领取优惠券标题" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            <Form.Item
              label="领取优惠券简介"
              name="sssItcc"
              rules={[{ required: true, message: "请填写领取优惠券简介" }]}
                >
              <Input className="info-border"></Input>
            </Form.Item>
            
          </Form>
          <div className="btn">
            <Button onClick={submit}>确定</Button>
          </div>
        </div>
      </div>
    );
  }
}

export default StoreShareSet;
